<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Action 属性</title>
</head>
<body>

<h1>HTML 表单</h1>

<form action="/demo/html/action_page.php">
  <label for="fname">First name:</label><br>
  <input type="text" id="fname" name="fname" value="Bill"><br>
  <label for="lname">Last name:</label><br>
  <input type="text" id="lname" name="lname" value="Gates"><br><br>
  <input type="submit" value="提交">
</form>

<p>如果您点击提交按钮，form-data 会被发送到名为 "/action_page.php" 的页面。</p>

</body>
</html>